Chiaming Yen's Cyber Universe

  • Home
    • SMap
    • reveal
    • blog
  • About
    • KMOL
    • MDE
    • ToDo
    • Google
      • Blogger
      • Youtube
  • Python
  • Portable
    • Lua 解譯
    • Wink
      • Add Wink
  • CMSiMDE
    • 建立網頁
    • 基本操作
      • 客製化
      • 編輯網頁內容
      • 上傳與引用檔案
      • 上傳與引用圖片
      • 嵌入程式碼
      • 嵌入影片檔
      • 檢視 STL
    • 置入 disqus
    • Gitlab 同步
    • Heroku 部署
    • Fossil SCM
    • 注意事項
      • 標題選擇
      • 靜態網頁 404
      • 動態網站錯誤
    • 延伸開發
    • 已知問題
      • IPv6
      • 上傳資料引用
      • MathJax
      • html 分頁
      • 靜態搜尋
      • template
      • 重複標題頁面
    • ajax
    • black
    • summernote
Heroku 部署 << Previous Next >> 注意事項

Fossil SCM

在 Github 之外, 可以同步將各倉儲資料存放至 Gitlab, Heroku (有 500 MB 容量限制) 與 Fossil SCM.

希望整合 Github 與 Fossil SCM 倉儲步驟說明如下:

針對 Github 中已經有 https://github.com/mdecourse/cmstemplate 倉儲, 希望同步建 https://fossil.kmol.info/cmstemplate 與之內容同步.

登入 fossil.kmol.info 主機, 在 /home/user/repository 目錄中, 以 fossil init cmstemplate.fossil 建立空倉儲. 此時 Fossil SCM 將會列出以登入帳號作為帳號的管理者密碼.

管理者利用 https://fossil.kmol.info/cmstemplate 連結, 以 user 登入, 並利用上列管理者密碼進入管理區, 先行透過 Setup/users 變更 user 對應密碼.

回到 Windows 以 fossil clone https://user@fossil.kmol.info/cmstemplate cmstemplate.fossil 取下倉儲資料, 過程中將需要輸入與 user 對應的密碼, 並被詢問是否儲存密碼, 若選擇儲存密碼則隨後的 fossil commit 將回自動提交推送.

接著在近端必須開啟空 cmstemplate.fossil 倉儲, 主要目的是取得 __FOSSIL__, 並且以 git pull 完整拉下位於 https://github.com/mdecourse/cmstemplate 中的資料並與空 __FOSSIL__ 進行整合. 其中在 Fossil SCM 端必須將 Setup/Settings 中的 default-csp 設為: https://fonts.googleapis.com (讓 CMSiMDE 靜態網頁可以在 Fossil SCM doc 頁面中正常顯示), 且勾選 dotfiles (讓 Fossil SCM 可以儲存 .git 中的版本資料).

參考資料:

編譯 Fossil SCM:

 http://project.mde.tw/blog/zai-msys2-huan-jing-bian-yi-fossil-scm.html


Heroku 部署 << Previous Next >> 注意事項

Copyright © All rights reserved | This template is made with by Colorlib